3.67 \(\int \csc ^4(a+b x) (d \tan (a+b x))^{3/2} \, dx\)

Optimal. Leaf size=41 \[ \frac {2 d \sqrt {d \tan (a+b x)}}{b}-\frac {2 d^3}{3 b (d \tan (a+b x))^{3/2}} \]

[Out]

2*d*(d*tan(b*x+a))^(1/2)/b-2/3*d^3/b/(d*tan(b*x+a))^(3/2)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2591, 14} \[ \frac {2 d \sqrt {d \tan (a+b x)}}{b}-\frac {2 d^3}{3 b (d \tan (a+b x))^{3/2}} \]

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]^4*(d*Tan[a + b*x])^(3/2),x]

[Out]

(-2*d^3)/(3*b*(d*Tan[a + b*x])^(3/2)) + (2*d*Sqrt[d*Tan[a + b*x]])/b

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2591

Int[sin[(e_.) + (f_.)*(x_)]^(m_)*((b_.)*tan[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> With[{ff = FreeFactors[Ta
n[e + f*x], x]}, Dist[(b*ff)/f, Subst[Int[(ff*x)^(m + n)/(b^2 + ff^2*x^2)^(m/2 + 1), x], x, (b*Tan[e + f*x])/f
f], x]] /; FreeQ[{b, e, f, n}, x] && IntegerQ[m/2]

Rubi steps

\begin {align*} \int \csc ^4(a+b x) (d \tan (a+b x))^{3/2} \, dx &=\frac {d \operatorname {Subst}\left (\int \frac {d^2+x^2}{x^{5/2}} \, dx,x,d \tan (a+b x)\right )}{b}\\ &=\frac {d \operatorname {Subst}\left (\int \left (\frac {d^2}{x^{5/2}}+\frac {1}{\sqrt {x}}\right ) \, dx,x,d \tan (a+b x)\right )}{b}\\ &=-\frac {2 d^3}{3 b (d \tan (a+b x))^{3/2}}+\frac {2 d \sqrt {d \tan (a+b x)}}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 30, normalized size = 0.73 \[ -\frac {2 d \left (\csc ^2(a+b x)-4\right ) \sqrt {d \tan (a+b x)}}{3 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]^4*(d*Tan[a + b*x])^(3/2),x]

[Out]

(-2*d*(-4 + Csc[a + b*x]^2)*Sqrt[d*Tan[a + b*x]])/(3*b)

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 51, normalized size = 1.24 \[ \frac {2 \, {\left (4 \, d \cos \left (b x + a\right )^{2} - 3 \, d\right )} \sqrt {\frac {d \sin \left (b x + a\right )}{\cos \left (b x + a\right )}}}{3 \, {\left (b \cos \left (b x + a\right )^{2} - b\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^4*(d*tan(b*x+a))^(3/2),x, algorithm="fricas")

[Out]

2/3*(4*d*cos(b*x + a)^2 - 3*d)*sqrt(d*sin(b*x + a)/cos(b*x + a))/(b*cos(b*x + a)^2 - b)

________________________________________________________________________________________

giac [A]  time = 0.55, size = 43, normalized size = 1.05 \[ \frac {2}{3} \, d {\left (\frac {3 \, \sqrt {d \tan \left (b x + a\right )}}{b} - \frac {d}{\sqrt {d \tan \left (b x + a\right )} b \tan \left (b x + a\right )}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^4*(d*tan(b*x+a))^(3/2),x, algorithm="giac")

[Out]

2/3*d*(3*sqrt(d*tan(b*x + a))/b - d/(sqrt(d*tan(b*x + a))*b*tan(b*x + a)))

________________________________________________________________________________________

maple [A]  time = 0.56, size = 50, normalized size = 1.22 \[ -\frac {2 \left (4 \left (\cos ^{2}\left (b x +a \right )\right )-3\right ) \cos \left (b x +a \right ) \left (\frac {d \sin \left (b x +a \right )}{\cos \left (b x +a \right )}\right )^{\frac {3}{2}}}{3 b \sin \left (b x +a \right )^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)^4*(d*tan(b*x+a))^(3/2),x)

[Out]

-2/3/b*(4*cos(b*x+a)^2-3)*cos(b*x+a)*(d*sin(b*x+a)/cos(b*x+a))^(3/2)/sin(b*x+a)^3

________________________________________________________________________________________

maxima [A]  time = 0.59, size = 34, normalized size = 0.83 \[ -\frac {2 \, d^{3} {\left (\frac {1}{\left (d \tan \left (b x + a\right )\right )^{\frac {3}{2}}} - \frac {3 \, \sqrt {d \tan \left (b x + a\right )}}{d^{2}}\right )}}{3 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^4*(d*tan(b*x+a))^(3/2),x, algorithm="maxima")

[Out]

-2/3*d^3*(1/(d*tan(b*x + a))^(3/2) - 3*sqrt(d*tan(b*x + a))/d^2)/b

________________________________________________________________________________________

mupad [B]  time = 3.49, size = 100, normalized size = 2.44 \[ \frac {8\,d\,\sqrt {\frac {d\,\sin \left (2\,a+2\,b\,x\right )}{\cos \left (2\,a+2\,b\,x\right )+1}}\,\left (11\,\cos \left (2\,a+2\,b\,x\right )-5\,\cos \left (4\,a+4\,b\,x\right )+\cos \left (6\,a+6\,b\,x\right )-7\right )}{3\,b\,\left (15\,\cos \left (2\,a+2\,b\,x\right )-6\,\cos \left (4\,a+4\,b\,x\right )+\cos \left (6\,a+6\,b\,x\right )-10\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*tan(a + b*x))^(3/2)/sin(a + b*x)^4,x)

[Out]

(8*d*((d*sin(2*a + 2*b*x))/(cos(2*a + 2*b*x) + 1))^(1/2)*(11*cos(2*a + 2*b*x) - 5*cos(4*a + 4*b*x) + cos(6*a +
 6*b*x) - 7))/(3*b*(15*cos(2*a + 2*b*x) - 6*cos(4*a + 4*b*x) + cos(6*a + 6*b*x) - 10))

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)**4*(d*tan(b*x+a))**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________